package mst

func IsUnique(astr string) bool {
	l := len(astr)
	rMap := make(map[int]int, 0)
	for i:=0; i<l; i++ {
		rMap[int(astr[i])] = 1
	}
	if len(rMap) == l {
		return true
	}

	return false
}
